import requests
import coo
cookies= coo.cookies
headers= coo.headers
data = {
  "_search": "true",
  "nd": "1726212811321",
  "rows": 12,
  "page": 1,
  "sidx": "code,sort_order",
  "sord": "asc",
  "region_name": "红花岗区",
  "code": 520302,
  "name": "",
  "grade": ""
}

response = requests.post('http://59.215.206.188/bsp/bsp/organ/region/query', cookies=cookies, headers=headers, data=data)

print(response.json())
for i in response.json()['rows']:
    print(i['cell']['CODE'],i['cell']['NAME'])